Skip to content

Fix onnxruntime-gpu churn in Docker TensorRT FP8 install step#14

Merged
forkni merged 1 commit into
SDTD_040_beta_releasefrom
integ/trt-modelopt-pin-to-040
Jul 19, 2026
Merged

Fix onnxruntime-gpu churn in Docker TensorRT FP8 install step#14
forkni merged 1 commit into
SDTD_040_beta_releasefrom
integ/trt-modelopt-pin-to-040

Conversation

@forkni

@forkni forkni commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • nvidia-modelopt[onnx] was unbounded here, floating to 0.45.0 — whose [onnx] extra force-upgrades onnx to 1.21.0 (breaks FP8 quant: external-data loading -> negative QDQ scale) and hard-pins onnxruntime-gpu==1.22.0 on Windows, downgrading off the onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above.
  • Pin nvidia-modelopt==0.43.0 (the same proven pin already used in forkni/StreamDiffusion-installer) and drop the [onnx] extra, enumerating its deterministic deps explicitly instead. modelopt core has no onnx requirement, so the churn/regression never enters the resolve.
  • Mirrors Fix onnxruntime-gpu churn in TensorRT FP8 install step StreamDiffusion-installer#4 (already merged), applied here to the Docker/Linux-only tool (python -m streamdiffusion.tools.install-tensorrt, used by the three Dockerfiles).

Test plan

  • py_compile src/streamdiffusion/tools/install-tensorrt.py passes
  • Dep list cross-checked against nvidia_modelopt-0.43.0.dist-info/METADATA's extra == "onnx" Requires-Dist lines (same enumeration verified via pip --dry-run for the installer-repo counterpart)

🤖 Generated with Claude Code

nvidia-modelopt[onnx] (unbounded, floats to 0.45.0) hard-pins
onnxruntime-gpu==1.22.0 on Windows and force-upgrades onnx to 1.21.0,
which breaks FP8 quant (external-data loading -> negative QDQ scale).
Pin modelopt==0.43.0 (the proven pin used by the installer's TD path)
and drop the [onnx] extra, enumerating its deterministic deps
explicitly instead — modelopt core has no onnx requirement, so the
onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above are
never perturbed.

Mirrors the same fix landed in forkni/StreamDiffusion-installer#4.

Co-Authored-By: Claude Opus 5 <[email protected]>
@forkni
forkni merged commit 0bbf2c9 into SDTD_040_beta_release Jul 19, 2026
1 check passed
@forkni
forkni deleted the integ/trt-modelopt-pin-to-040 branch July 19, 2026 14:56
forkni added a commit that referenced this pull request Jul 19, 2026
nvidia-modelopt[onnx] (unbounded, floats to 0.45.0) hard-pins
onnxruntime-gpu==1.22.0 on Windows and force-upgrades onnx to 1.21.0,
which breaks FP8 quant (external-data loading -> negative QDQ scale).
Pin modelopt==0.43.0 (the proven pin used by the installer's TD path)
and drop the [onnx] extra, enumerating its deterministic deps
explicitly instead — modelopt core has no onnx requirement, so the
onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above are
never perturbed.

Mirrors the same fix landed in forkni/StreamDiffusion-installer#4
and #14 (SDTD_040_beta_release).

Co-authored-by: Claude Opus 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant